<include file="public/header" title="单品搜索"  body=""/>
<include file="public/header_nav" title="单品搜索" href="javascript:history.back(-1);"/>
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<div id="goods_info">
    <div class="orderlistshpop p">
        <div class="maleri30">
            <a href=" https://uland.taobao.com/coupon/edetail?activityId=ce686ab5fb924e1bb56588bd7fcef7ee&amp;pid=mm_17620797_42568708_237658530&amp;itemId=545201144536&amp;src=cd_cdll" class="item">
                <div class="sc_list se_sclist">
                    <div class="shopimg fl">
                        <img src="https://img.alicdn.com/bao/uploaded/i4/3165863959/TB10_V4hnXYBeNkHFrdXXciuVXa_!!0-item_pic.jpg">
                    </div>
                    <div class="deleshow fr">
                        <div class="deletes">
                            <span class="similar-product-text fl">韩夫人杀菌机除螨仪家用床铺床上吸尘器除螨虫紫外线小型迷你除尘</span>
                        </div>


                        <div class="prices">
                            <p class="sc_pri fl"><span>￥</span><span>199元</span></p>
                        </div>

                        <div class="prices">

                            <p class="sc_pri fl">     券后价<span>￥</span><span>99元</span>

                            </p><div class="goods-quan shoufa-quan fl"><span>券</span><b><i>￥</i>100</b></div>
                            <p></p>

                        </div>


                        <p class="weight"> <span>23549</span><span>销量</span></p>
                    </div>
                </div>
            </a>
        </div>
    </div>

    <div class="buy-wrapper-new">


        <ul class="row-s">
            <li class="col-sm-4">
                <a href="javascript:;" id="copy">淘口令</a>

            </li>


            <li class="col-sm-6">


                <a href="https://uland.taobao.com/coupon/edetail?activityId=ce686ab5fb924e1bb56588bd7fcef7ee&amp;pid=mm_17620797_42568708_237658530&amp;itemId=545201144536&amp;src=cd_cdll" class="buy-btn buy-btn-primary tb_app">领券购买 </a>
            </li>
        </ul>
     </div>


    <div class="copy_content" style="display:none;">
        <div class="buy-box-tab buy-box-tab-bg">复制分享文案</div>
        <div class="buy-box-center">
            <div class="code-cent">
                <div class="cente-text"><div>
                    <p class="textarea" id="codeCopy">
                        【韩夫人如优专卖店】韩夫人杀菌机除螨仪家用床铺床上吸尘器除螨虫紫外线小型迷你除尘<br>
                        【原价】199元<br>【券后】99元<br>
                        【复制此信息打开手机淘宝即可查看并下单】￥ZayW0t8KeJB￥                            <br>
                    </p>
                </div>
                </div>
                <p class="text">长按文字区域手动复制淘口令</p>
                <a href="javascript:;" class="buy-btn-copy" data-clipboard-text="
 【韩夫人如优专卖店】韩夫人杀菌机除螨仪家用床铺床上吸尘器除螨虫紫外线小型迷你除尘【原价】199元
【券后】99元
【复制此信息打开手机淘宝即可查看并下单】￥ZayW0t8KeJB￥">一键复制</a></div></div>

    </div>

</div>
<script>
    ;!function(){

        var clipboard = new ClipboardJS('.buy-btn-copy');
//关于
        $('#copy').on('click', function(){
            layer.open({
                type: 1,
                title: false,
                skin: 'layui-layer-rim', //加上边框
                content: $('.copy_content')
            });
        });


        $('.buy-btn-copy').on('click', function(){
                clipboard.on('success', function(e) {
                    console.log('ssssss');
                    $('.buy-btn-copy').addClass("active");
                    $('.buy-btn-copy').html('复制成功');
                    layer.msg('复制成功');
                });
                clipboard.on('error', function(e) {
                    console.log(e);
                });

            }

        )}();
</script>




</body></html>